package com.boot2551;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * @MapperScan(value = "com.boot2551.mapper")扫接口
 * @ServletComponentScan(value = "com.common")扫servlet注解
 */
@MapperScan(value = "com.boot2551.mapper")
@ServletComponentScan(value = "com.boot2551.common")
@SpringBootApplication
public class Boot2551Application {

    public static void main(String[] args) {

        SpringApplication.run(Boot2551Application.class, args);
    }

}
